ul.menu {
  box-sizing: border-box;
  height: 68px;
  width: 100%;
  margin: 0;
  padding: 0 3.5%;
  background-color: #fafbfc;
  box-shadow: 0 2px 8px 0 rgba(179, 179, 179, 0.4);
}
ul.menu li {
  display: flex;
  align-items: center;     /* 縦方向中央揃え */
  justify-content: center; /* 横方向中央揃え */
  text-align: center;
  float: left;
  height: 64px;
  font-size: 16px;
  color: #0e7cdc;
  cursor: pointer;
}
ul.menu li.detail {
  width: 15%;
}
ul.menu li.advice {
  width: 23%;
}
ul.menu li.simulation {
  width: 62%;
}
ul.menu li.detail.nosimulation,
ul.menu li.advice.nosimulation {
  width: 50%;
}

/* 選択表示 */
ul.menu li.bottom {
  height: 4px;
}
ul.menu li.bottom.active {
  background-color: #0e7cdc;
}

/* 各タブ共通スタイル */
.report-card {
  width: 93%;                  /* ★★★ RiskSliderの幅も揃えること ★★★ */
  margin: 20px auto 20px;
  padding-bottom: 5px;
  background-color: #ffffff;
  box-shadow: 0 1px 4px 0 rgba(179, 179, 179, 0.4);
}
.card-content {
  width: 100%;
  max-width: 640px;
  margin: 0px auto;
}

/* 表 */
.report-table {
  width: 87%;
  margin: 0 auto;
  border-spacing: 0px;
  border-collapse: collapse;
  font-size: 28px;
  color: #707070;
}
.report-table th,
.report-table td {
  border: solid 2px #bfbfbf;
  height: 60px;
  vertical-align: middle;
}
.report-table th {
  font-weight: normal;
}

.report-table.simulation-table {
  width: 522px;
  margin-top: 10px;
  font-size: 24px;
}
.report-table.simulation-table th,
.report-table.simulation-table td {
  height: 70px;
  line-height: 30px;
  text-align: left;
  vertical-align: middle;
  padding-left: 10px;
}
.report-table.simulation-table td {
  color: #000000;
}

.report-table.detail-table {
  margin: 40px auto;
}
.report-table.detail-table th {
  padding-left: 10px;
  text-align: left;
}
.report-table.detail-table td {
  font-weight: bold;
  text-align: center;
  .SelectItemListContainer {
    width: 100%;
    padding-right: 20px;
  }
}

/* 詳細、アドバイス共通スタイル */
.Detail .card-content,
.Advice .card-content {
  padding-top: 37px;
  margin-bottom: 37px;
  font-size: 28px;
}
.Detail .card-content p,
.Advice .card-content p {
  margin: 40px;
  line-height: 1.5;
}

/* 詳細共通スタイル */
.Detail .card-content strong {
  color: #0e7cdc;
}
.Detail p.top-content {
  margin-top: 0px;
}

/* リスクグラフ */
.risk-bar-graph {
  text-align: center;
}

/* シミュレーション共通スタイル */
.Simulation .card-content {
  font-size: 1.2rem;
}
.guidance-simulation {
  padding: 30px 30px 0px;
  margin: 0px;
}
.simulation-content {
  display: flex;
  width: 100%;
  font-size: 1rem;
  margin: 28px auto 0px auto;
}
.simulation-content dt,
.simulation-content dd {
  box-sizing: border-box;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}
.simulation-content dt {
  color: #666666;
  width: 24%;
  text-align: right;
  font-weight: bold;
}
.simulation-content dd {
  color: #000000;
  width: 76%;
  padding-left: 1%;
}
.simulation-content dt div {
  display: inline-block;
}
.simulation-content dt p {
  margin: 0px;
}
.simulation-content dt::after {
  display: inline-block;
  content: "：";
}
.simulation-content dt.row-2::after {
  position: relative;
  bottom: 0.5em;
  left: 0px;
}
.simulation-content.title {
  margin: 50px auto 0px auto;
  text-align: left;
}
.simulation-content.wide-label {
  margin: 28px auto 0px auto;
}
.simulation-content.title dt,
.simulation-content.wide-label dt {
  width: 41%;
}
.simulation-content.title dd,
.simulation-content.wide-label dd {
  width: 59%;
}
.simulation-content.wide-label.partial-space {
  margin: 40px auto 0px auto;
}
.Simulation .otherwise {
  margin: 5px 0px;
}
.Simulation .otherwise p {
  margin: 10px 0px;
}

.simulation-content.vertical-dl {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.simulation-content.vertical-dl dt,
.simulation-content.vertical-dl dd {
  display: flex;
}
.simulation-content.vertical-dl dt {
  width: 100%;
  text-align: left;
  padding-left: 50px;
}
.simulation-content.vertical-dl dd {
  width: 100%;
  text-align: center;
}

.simulation-content.spaceLeft dt {
  width: 66%;
}
.simulation-content.spaceLeft dd {
  width: 34%;
}

.simulation-content.sample-data.sample-label {
  margin: 14px auto 0px auto;
  font-size: 26px;
}
.simulation-content.sample-data.sample-label dt {
  width: 33%;
  text-align: right;
  padding-left: 0px;
  font-weight: normal;
}
.simulation-content.sample-data.sample-label dd {
  width: 67%;
}
.simulation-content.sample-data.sample-label dt::after {
  content: none;
}

.simulation-content.sample-data.sample-label.vertical-dl {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.simulation-content.sample-data.sample-label.vertical-dl dt {
  width: 33%;
  justify-content: flex-end;
}
.simulation-content.sample-data.sample-label.vertical-dl dd {
  width: 100%;
  text-align: center;
}

.simulation-sub-content {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* リンク */
.link {
  margin: 40px;
}
.link .link-title {
  margin: 20px 0px 0px 0px;
  text-indent: -0.5em;
}
.link .link-title::before {
  content: "【";
}
.link .link-title::after {
  content: "】";
}
.link .link-dd {
  margin: 0px;
}
.link .link-ul {
  margin: 0px;
  padding: 0px;
  margin-bottom: 5px;
}
.link .link-ul .link-li {
  list-style: none;
}
.link .link-ul .link-li a::before {
   content:"> ";
 }
.link .link-ul,
.link .link-ul a {
  color: #0e7cdc;
}

.report-card a,
.report-card a:active,
.report-card a:visited,
.report-card a:hover {
  color: #0e7cdc;
  text-decoration: underline;
}
.report-card a.internal-link {
  font-weight: bold;
}
.report-card a.external-link {
  font-weight: normal;
}


/*************************************************************************************************
 * タブレット・デスクトップ向け
 *************************************************************************************************/
@media screen and (min-width:641px) {
  ul.menu li {
    font-size: 24px;
  }

  .report-card,
  .report-card .card-content {
    font-size: 25px;
  }

  .simulation-content {
    font-size: 27px;
  }
  .simulation-content.sample-data.sample-label {
    font-size: 25px;
  }
  
  .simulation-content.title dt,
  .simulation-content.wide-label dt {
      width: 34%;
  }
  .simulation-content.title dd,
  .simulation-content.wide-label dd {
      width: 66%;
  }
  
  .simulation-content.spaceLeft dt {
    width: 60%;
  }
  .simulation-content.spaceLeft dd {
    width: 40%;
  }

  .report-table {
    font-size: 25px;
  }

  .report-table.simulation-table {
    font-size: 21px;
  }
}
